// +----------------------------------------------------------------------
// | php_pk_go / for.go [ 2023/3/9 下午8:18 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2023 zhangqiquan All rights reserved.
// +----------------------------------------------------------------------
// | Author: zhangqiquan <768617998@qq.com>
// +----------------------------------------------------------------------
package main
import (
    "fmt"
    "time"
)
func main() {
    start := time.Now()
    for i := 0; i < 100000000; i++ {
    }
    elapsed := time.Since(start)
    fmt.Println("耗时：", elapsed)
}